___________________________________________________________________________ | | | | | | Name | Class | Type | OpenGL attribute | |____________________|____________________|_________|______________________| | | | | | | | | | | |____________________|____________________|_________|______________________|
GLwBeginProjection (ws); glFrustum (-1.0, 1.0, -1.0, 1.0, 1.0, 10.0); GLwEndProjection ();During redisplay, this will be executed as a display list with the matrix mode set to GL_PROJECTION and an identity matrix on top of the projection matrix stack.
GLwBeginView (ws); gluLookAt (0.0, 0.0, 3.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0); GLwEndView ();During redisplay, this will be executed as a display list with the matrix mode set to GL_MODELVIEW and an identity matrix on top of the model view matrix stack.